/*
 * @Author: moonwater 13812995013@163.com
 * @Date: 2025-03-03 10:20:00
 * @LastEditors: moonwater 13812995013@163.com
 * @LastEditTime: 2025-03-03 11:16:39
 * @FilePath: \盐师22Git仓库\day06\Acount.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package day06;

public class Acount {
    //卡号
    private String cardNo;

    //余额
    private double money;

    public void setcardNo(String cardNo){

    }
    public void setMoney(double money){
        this.money = money;
    }
    public void setMoney1(double newMoney){
        money = newMoney;
    }

    public String getCardNo(){
        return cardNo;
    }

    public void show(){
        System.out.println("卡号"+ cardNo + ",金额:"+money);
        
    }
}
